package com.tubi.array;

public class
Demo3Array {
    public static void main(String[] args) {
        int[] arr = new int[3]; //int 数据数组
        byte[] arr2 = new byte[3]; //byte 数据类型
        short[] arr3 = new short[3]; //short 数据数组
        long[] arr4 = new long[3]; //long 数据数组
        float[] arr5 = new float[3]; //float 数据数组
        double[] arr6 = new double[3];// double 数据数组
        boolean[] arr7 = new boolean[3]; //boolean 数据数组
        char[] arr8 = new char[3]; //char 数据数组


        System.out.println(arr[0]);//0
        System.out.println(arr2[0]);//0
        System.out.println(arr3[0]);//0
        System.out.println(arr4[0]);//0
        System.out.println(arr5[0]);//0.0
        System.out.println(arr6[0]);//0.0
        System.out.println(arr7[0]);//false
        System.out.println(arr8[0]); //null
    }
}
